package com.damuzee.core.persistense;

import java.util.Date;

import org.mybatis.sql.BaseMapper;
import org.mybatis.sql.page.Page;

import com.damuzee.core.domain.Authentication;

public interface AuthenticationMapper extends BaseMapper<Authentication>{

	public int deleteExpire(Date d);

	public Authentication getByUserId(Long userId);

	public Page<?> getPage(int pageNo, int pageSize);

	public Authentication findById(String id);
 
}